<?php 
	include_once 'SuperMetier.class.php';

	/**
	 * Class Album of class Metier
	 * @author olivierpasquet
	 */
	class Album extends SuperMetier {
		private $name;
		private $coverage;
		private $description;
		private $categorie;
		
		function __construct() {
			parent::__construct();
    	}
    	
    	function __toString() {
    		 return	'<span style="color:green"> name = ' . $this->name .
    				' , coverage = ' . $this->coverage .
    				' , description = ' . $this->description.
    		 		' , categorie = ' . $this->categorie.
    		 		'</span>';
    	}
    	
		/**
		 * Getteur and Setteur
		 */
		public function getName() {
			return $this->name;
		}
		public function getCoverage() {
			return $this->coverage;
		}
		public function getDescription() {
			return $this->description;
		}
		public function setName($_name) {
			$this->name = $_name;
		}
		public function setCoverage($_coverage) {
			$this->coverage = $_coverage;
		}
		public function setDescription($_description) {
			$this->description = $_description;
		}
		public function getCategorie() {
			return $this->categorie;
		}
		public function setCategorie(Categorie $_categorie) {
			$this->categorie = $_categorie;
		}
	}
?>